home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
smfdoor
/
frmexitd.frm
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1999-08-13
|
2KB
|
74 lines
VERSION 5.00
Begin VB.Form frmExitDoorWay
BackColor = &H80000012&
BorderStyle = 1 'Fixed Single
Caption = "Exit DoorWays?"
ClientHeight = 1050
ClientLeft = 5985
ClientTop = 2310
ClientWidth = 4410
Icon = "frmExitDoorWay.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1050
ScaleWidth = 4410
Begin VB.CommandButton cmdNo
Caption = "No"
Height = 375
Left = 2400
TabIndex = 1
Top = 600
Width = 1215
End
Begin VB.CommandButton cmdyes
Caption = "Yes"
Height = 375
Left = 360
TabIndex = 0
Top = 600
Width = 1215
End
Begin VB.Label Label1
BackColor = &H80000012&
Caption = "Are You Sure You Want To Exit This session Of ""SMF DoorWays""?"
ForeColor = &H000000FF&
Height = 375
Left = 360
TabIndex = 2
Top = 0
Width = 3495
End
Attribute VB_Name = "frmExitDoorWay"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdNo_Click()
Unload frmExitDoorWay
End Sub
Private Sub cmdyes_Click()
frmExitDoorWay.Caption = "Now Exiting DoorWays"
Unload frmExitDoorWay
Unload frmDoorToTheNet
End Sub
Private Sub Form_Unload(Cancel As Integer)
num = 1
Width = 4500
For i = 0 To Me.Height
Me.Height = Me.Height - num
DoEvents
Next i
For i = 0 To 1900
Me.Width = Me.Width - num
DoEvents
Next i
For i = 0 To 1000
Me.Left = Me.Left + num
num = num + 1
DoEvents
Next i
'Sorry last time I forgot the DoEvents, IM VERY SORRY. Thanks to
End Sub